﻿using System.Collections.Generic;
using Model;

namespace MDFGame
{
    /// <summary>
    /// 卡片类型[角色=1/战斗=2/特殊符卡=3]
    /// </summary>
    public enum CardType
    {
        Character = 1,
        Battle,
        Special,
        Undefined,
    }
    /// <summary>
    /// 战斗符卡类型[弹幕=0/体术=1]
    /// </summary>
    public enum BattleType
    {
        Dnmaku = 0,
        Physical,
        Undefined,
    }
    /// <summary>
    /// 特殊符卡类型[陷阱=1/瞬发道具=2/持续道具=3/状态=4]
    /// </summary>
    public enum SpecialType
    {
        Trap = 1,
        Nitem,
        Bitem,
        State,
        Undefined,
    }
    /// <summary>
    /// 数值类型[华丽度=1/代价=2/战力=3/全部=4]
    /// </summary>
    public enum NumType
    {
        Level = 1,
        Cost,
        Battle,
        All,
        Undefined,
    }
    /// <summary>
    /// 角色技能类型[Center=1/Hyper=2/Support=3]
    /// </summary>
    public enum SkillType
    {
        Center = 1,
        Hyper,
        Support,
        Undefined,
    }
    /// <summary>
    /// 卡片控制权[玩家1=0/玩家2=1/公用=2/未知=3]
    /// </summary>
    public enum Owner
    {
        Player1 = 0,
        Player2,
        Public,
        Unknown,
    }
    /// <summary>
    /// 角色技能X
    /// </summary>
    public struct Skill
    {
        public SkillType Type { get; }//技能类型
        public string SkillText { get; }//技能描述
        public Skill(SkillType t, string d)
        {
            Type = t; SkillText = d;
        }
    }
    /// <summary>
    /// 特性X
    /// </summary>
    public struct TEffect
    {
        public string TName { get; }//特性名
        public string TText { get; }//特性描述
        public TEffect(string tn, string tt)
        {
            TName = tn; TText = tt;
        }
    }
    /// <summary>
    /// 系列X
    /// </summary>
    public struct Series
    {
        public string SCall { get; }
        public string SName { get; }
        public List<int> SCard;
        public Series(string a,string b)
        {
            SCall = a;SName = b;
            SCard = new List<int>();
        }
    }
}
